package com.racetime.po;

/**
 * @author : Ice'Clean
 * @date : 2021-05-21
 *
 * 用户实体类
 */
public class User {
    private Integer userId;
    private String userName;
    private String nickName;
    private String userPass;
    private String userHead;
    private String createDate;

    public User() {
    }

    public User(String userName, String userPass) {
        this.userName = userName;
        this.userPass = userPass;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public void setUserPass(String userPass) {
        this.userPass = userPass;
    }

    public void setUserHead(String userHead) {
        this.userHead = userHead;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public Integer getUserId() {
        return userId;
    }

    public String getUserName() {
        return userName;
    }

    public String getNickName() {
        return nickName;
    }

    public String getUserPass() {
        return userPass;
    }

    public String getUserHead() {
        return userHead;
    }

    public String getCreateDate() {
        return createDate;
    }

    @Override
    public String toString() {
        return "【 用户id：" + userId +
                ", 用户名：" + userName +
                ", 昵称：" + nickName +
                ", 密码：" + userPass +
                ", 头像：" + userHead +
                ", 注册时间：" + createDate + " 】";
    }
}
